<?php
define("_ROOT", "..");
include _ROOT . "/mainfile.php";

$iNewsID = is_numeric($_GET["id"]) ? $_GET["id"]:"";
$sql = "SELECT * {$tablepre}xna_tags ";
$rt = $PlusDB->execute($sql);
$sHTML = "";

while (!$oRS->Eof())
{
    if (isNone($sHTML))    {
        $sHTML = $oRS->FieldValue("name");
    }else{
        $sHTML .= ',' . $oRS->FieldValue("name");
    }
    $oRS->MoveNext();
}

echo ($sHTML);
?>